﻿using System;
using System.Collections.Generic;
using Autodesk.Revit.DB;
using YJKRevitBase.WinForm;
using YJKOpeningCommon.DbOpening;
using YJKOpeningDesignInput.Public;

namespace YJKOpeningDesignInput.DbOpeningCreatorFactory
{
	internal class DbWallInclineOpeningCreateFactory : DbWallOpeningCreatorFactory
	{
        public DbWallInclineOpeningCreateFactory(ref List<Document> lstDoc, WindowHandle handle, Dictionary<string, int> dicOpenProfileData)
            : base(ref lstDoc, handle, dicOpenProfileData)
		{
		}

		public override bool CreateDbOpening(MEPData mepData, ref LinkedList<DbOpeningBase> lstDbOpening)
		{
			base.SetWallOpeningChildObj(this);
			return base.CreateDbOpening(mepData, ref lstDbOpening);
		}

		public override void SetStraightOpeningData(ref OpeningData openingData)
		{
		}

		public override void SetStraightOpeningData(double dAngle, double dHostWidth, double dCutWidthOrHeight, ref double dOpeningWidthOrHeight)
		{
		}
	}
}
